package pref.junx.flybird.activity.addGroup;


import pref.junx.flybird.api.HttpMethosds;
import pref.junx.flybird.entity.FriendShip;
import pref.junx.flybird.entity.ResultBean;
import pref.junx.flybird.tools.RxSchedulers;
import rx.Observable;

/**
 * Created by 半生瓜 on 2017/8/7.
 */

public class AddGroup_Model implements AddGroup_Conteact.Model  {

    @Override
    public Observable<ResultBean<Boolean>> addfri(FriendShip f) {
        return HttpMethosds.getInstance().retrofitServicel
                .addfri(f)
                .compose(RxSchedulers.io_main());
    }
}
